projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d7f16
)
Added self to the list of font-lock-keywords
author
Fabián Ezequiel Gallina
<fgallina@cuca>
Thu, 17 May 2012 03:03:35 +0000
(
00:03
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Thu, 17 May 2012 03:03:35 +0000
(
00:03
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 51727be901a17564344e3646049860096b0a017b..5527d851d1d64bf29c5315006cb79acf096cceb9 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-360,7
+360,9
@@
This variant of `rx' supports common python named REGEXPS."
;; documentation, but since they also qualify as constants they are
;; fontified like that in order to keep font-lock consistent between
;; Python versions.
- "nonlocal")
+ "nonlocal"
+ ;; Extra:
+ "self")
symbol-end)
;; functions
(,(rx symbol-start "def" (1+ space) (group (1+ (or word ?_))))